#!/bin/sh
# $Id: libproxy_proxy_and_lib.test 386 2009-06-07 20:15:13Z dominique.leuenberger $

parser=src/bin/iniparse.test
conffile="test.d/test_libproxy_config_file.conf"
section=__DEFAULT__
key=key1

if [ -x "$parser" ]; then
  result=$($parser $conffile $section $key)
fi

echo 'name="libproxy_iniparser_default_section"'
if [ "$result" == "key1 = default1" ]; then
    echo pass=True
else
    echo pass=False
    echo "reason='iniparser returned $result'"
fi  
